package com.csun.cmny.provider.device.card.entity;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-12-04 13:30
 * @Description:
 */
public class CardCloseDoorCmdEntity extends CardCmdEntity {

    /**
     * 分类
     */
    public byte type = 0x03;

    /**
     * 命令
     */
    public byte cmd = 0x03;

    /**
     * 参数
     */
    public byte param = 0x01;

    /**
     * 命令
     */
    public byte[] length = {0x00, 0x00, 0x00, 0x04};

    /**
     * 构造函数 给父类属性赋值
     */
    public CardCloseDoorCmdEntity(String deviceNo, byte[] password, byte[] code, byte[] data) {
        super.type = this.type;
        super.cmd = this.cmd;
        super.param = this.param;
        super.length = this.length;
        super.build(deviceNo, password, code, data);
    }

}
